package com.example.boot3.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Date;

/**
 * @author 邹成明
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Use {
    @ColumnWidth(18)
    @ExcelProperty("申请使用编号")
    private Integer use_id;
    @ExcelProperty("驾驶员工号")
    @ColumnWidth(15)
    private String driver_id;
    @ExcelProperty("车牌号")
    @ColumnWidth(15)
    private String vehicle_id;
    @ExcelProperty(value = "开始时间")
    @ColumnWidth(15)
    private String start_time;
    @ExcelProperty(value = "结束时间")
    @ColumnWidth(15)
    private String end_time;
    @ExcelProperty("目的地")
    @ColumnWidth(20)
    private String destination;
    @ExcelProperty("备注")
    private String reason;


}
